import Vue from 'vue';
import VueQuillEditor from 'vue-quill-editor';

// // require styles
// import 'quill/dist/quill.core.css';
// import 'quill/dist/quill.snow.css';
// import 'quill/dist/quill.bubble.css';

// 如果是开发环境，才需要导入样式，生产环境是直接使用cdn引入，不需要导入
if (process.env.NODE_ENV === 'development') {
  // eslint-disable-next-line
  import('quill/dist/quill.core.css');
  // eslint-disable-next-line
  import('quill/dist/quill.snow.css');
  // eslint-disable-next-line
  import('quill/dist/quill.bubble.css');
}

Vue.use(VueQuillEditor /* { default global options } */);
